<%@ page language="java" import="java.util.*"
	pageEncoding="UTF-8"%>
<%@include file="../subPages/css.jsp"%>
<body>
	<%@include file="../subPages/top.jsp"%>
	<%@include file="../subPages/search.jsp"%>
	<%@include file="../subPages/nav.jsp"%>
	<div class="container">
		<div class="row">
				<div class="floor">
					<div class="floor-title fl">
						<a class="floor-link" href="category?p_first.code=${p_first.code}">${p_first.name}</a> 
						<s:if test="!p_second.name.equals('')"><i class="iconfont">&#xe60a;</i></s:if> ${p_second.name}
					</div>
					<div class="floor-link fr">
						<s:iterator
							value="@cn.wegoteam.shop.cache.StaticDataCache@getStaticdatas(p_first.code,'SUBNAV')"
							status="st">
							<a href="category?p_second.code=${code}">${name}</a>
							<s:if test="!#st.last">
								<span>|</span>
							</s:if>
						</s:iterator>
					</div>
					<div class="cb"></div>
				</div>
				<%@include file="../subPages/conditions.jsp"%>
				<div class="cb"></div>
				<div class="floor-content shadow min-h300 mt10">
					<div class="product-order">
						<div class="B2 fb">排序</div>
						<div onclick="pageSubmit('p_order','flag')" class="fm <s:if test="p_order.equals('flag')">active</s:if>">默认<i class="iconfont f16 B2">${icon}</i></div>
						<div onclick="pageSubmit('p_order','price')" class="fm <s:if test="p_order.equals('price')">active</s:if>">价格<i class="iconfont f16 B2">${icon}</i></div>
						<div onclick="pageSubmit('p_order','sellNum')" class="fm <s:if test="p_order.equals('sellNum')">active</s:if>">销量<i class="iconfont f16 B2">${icon}</i></div>
						<div onclick="pageSubmit('p_order','commentNum')" class="fm <s:if test="p_order.equals('commentNum')">active</s:if>">评论量<i class="iconfont f16 B2">${icon}</i></div>
						<div class="fr">${pageBean.currentPage}/${pageBean.totalPage}&nbsp; 共${pageBean.allRow}条</div>
					</div>
					<s:iterator value="models">
							<%@include file="../subPages/product.jsp"%>
					</s:iterator>
					<div class="cb"></div>
					<div class="p10">
						<pt:pageTag  page="${pageBean}" path="category" paramMap="${paramMap}" style="SMALL,NUM"/>
					</div>
				</div>
		</div>
	</div>



	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<%@include file="../subPages/footer.jsp"%>
</body>
</html>
